/**
 * loading界面
 */
var LoadingDialog = Dialog.extend({
    _ccsFileName: res.Loading_json,
    _content: null,
    /**
     * 初始化只调用一次
     * @public
     */
    initDialog: function (str) {
        this._runAction();
        this._nodeList['text'].setString(str);
    },
    /**
     * 刷新数据，外部调用setData
     */
    refreshData:function (str) {
        this._nodeList['text'].setString(str);
    },
    _runAction: function () {
        //var sp = playSpine(res.sp_loading_json, 'animation', true);
        var sp = playAnimScene(this._nodeList['action'], hall.res.LoadingAnimation, 0, 0, true);
        //this._nodeList['action'].addChild(sp);
    }
});